//index.js
//获取应用实例
const app = getApp()
const host = app.globalData.host
Page({
  data: {
    host
  },
  //事件处理函数

  onLoad: function () {
    console.log(this.data.host);
  }
})
